21 步:让我们再增加一名宇航员,让它变得更加困难!

  • ,将Add Entry拖入main()内部以及调用play_game()的上方。
  • "fish"更改为"astronaut2 " 并将0更改为-200
  • 点击运行然后点击控制台。看看"astronaut2"现在如何成为我们字典的一部分?


    To navigate the page using the TAB key, first press ESC to exit the code editor.

    # THIS ACTIVITY IS IN PREVIEW ONLY MODE
    • Run Code
    • Submit Work
    • Next Activity
    • Show Console
    • Reset Code Editor
    • Codesters How To (opens in a new tab)